package com.gitee.mars.vaccin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.mars.vaccin.entity.AdminOperateLog;
import com.gitee.mars.vaccin.request.AdminOperateLogReq;
import com.gitee.mars.vaccin.response.base.PageInfo;
import com.gitee.mars.vaccin.response.vo.AdminOperateVo;

/**
 * AdminOperateLog 接口
 *
 * @Author wq
 * @Date 2021-02-03
 **/
public interface IAdminOperateLogService extends IService<AdminOperateLog> {


    /**
     * 保存操作日志
     *
     * @param req req
     */
    void add(AdminOperateLogReq req);

    /**
     * 操作日志分页
     *
     * @param req req
     * @return PageInfo<AdminOperateVo>
     */
    PageInfo<AdminOperateVo> pageList(AdminOperateLogReq req);
}
